package com.hospital.wx.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
@Mapper
public interface AppointmentOrderDao {

    int createAppointmentOrder(Map param);

    HashMap getDoctorScheduleIdByOutTradeNo(String outTradeNo);

    int closeUnpaidOrder(String outTradeNo);

    HashMap selectOrderDetailById(String orderId);

    int updateOrderStatus(Map pram);

    int cancelOrder(String orderId);

    String selectOutTradeNoByOrderId(String orderId);

    ArrayList<HashMap> getOrderList(Integer patientId);
}
